<?php
$user = $_GET['u'];
$pass = $_GET['p'];
$rip = $_SERVER['REMOTE_ADDR'];
include("config.php");
?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>S1 - Tinh Kiem</title>
		
	<script src="./S1 - Local_files/swfobject.js" type="text/javascript"></script>
	<script src="./S1 - Local_files/rightclick.js" type="text/javascript"></script>
	<script src="./S1 - Local_files/jquery.js" type="text/javascript"></script>
	<script src="./S1 - Local_files/jquery_cookie.js" type="text/javascript"></script>
	<script src="./S1 - Local_files/swffit.js" type="text/javascript"></script><style type="text/css" media="screen">object {position:absolute}#customRightClick {visibility:hidden}</style>
		<script type="text/javascript">
		function navigateToSignIn(){window.onbeforeunload=null;window.location.href='http://<?php echo $url; ?>/login.php';}

		var flashvars={ip:"<?php echo $ip; ?>",port:"9003",url:"http://<?php echo $url; ?>/res/",account:"<?php echo $user; ?>",psw:"<?php echo $pass; ?>",server:"1"};
		var params = {menu:"false",scale:"noScale"}
		swfobject.embedSWF("/res/GameLoader.swf", "customRightClick", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params);
		window.onbeforeunload=function(){return "Thoat ha? ";}
		
		
	</script>
	<script src="js/ga.js"></script>

</head>
<body oncontextmenu="return false" ondragstart="return false" onselectstart="return false" viewsource="no" id="flashcontent" scroll="no" onLoad="RightClick.init();" bgcolor="#000000" style="margin:0;height:100%;">
	<object type="application/x-shockwave-flash" data="http://<? echo $url; ?>/res/GameLoader.swf" width="100%" height="100%" id="customRightClick" style="visibility: visible;"><param name="menu" value="false"><param name="scale" value="noScale"><param name="flashvars" value="payUrl=/pay.php&amp;bbsUrl=http://<?php echo $url; ?>/&amp;gmHelpUrl=/index.php&amp;platform=cnyayo&amp;ip=<?php echo $ip; ?>&amp;port=8003&amp;url=http://<?php echo $url; ?>/res/&amp;gmInfo=<?php echo $url; ?>&amp;website=http://<?php echo $url; ?>&amp;gameid=s1&amp;account=<?php echo $user; ?>&amp;psw=<?php echo $pass; ?>&amp;server=djws"></object>
	<div style="display:none;position:absolute;z-order=-100"></div>


<script type="text/javascript" src="./S1 - Local_files/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="./S1 - Local_files/inlinekeywords.js"></script>
<script type="text/javascript" src="./S1 - Local_files/pconfig.js"></script>
</body></html>
